package com.onesports.intelligent.k12.polarlight.domain.entity.organization;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 教练
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("coach")
public class Coach extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
    /**
     * 个人简介
     */
	private String introduction;
    /**
     * 分账比例
     */
	private BigDecimal subRatio;
	/**
	 * 教练类型
	 */
	private String coachType;
    /**
     * 机构ID
     */
	private String organizationId;
    /**
     * 头像文件id
     */
	private String avatar;
    /**
     * 是否在职
     */
	private Boolean status;
    /**
     * 微信userId
     */
	private String wxUserId;
	/**
	 * 职工staffId
	 */
	private String organizationStaffId;

	@TableField(exist = false)
	private String coachName;



}
